package com.example.apisimpledy.service;

import com.example.apisimpledy.entity.dto.MyUser;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.stereotype.Service;

@Service
public interface MyUserService extends UserDetailsService {
    MyUser findByNameOrEmail(String nameOrEmail);
    MyUser registerUser(String username, String password, String email);
}
